package com.css.zfzx.fxpg.modules.surveyspot.repository;

import com.css.zfzx.fxpg.modules.surveyspot.repository.entity.FxSurveySpotEntity;
import com.css.zfzx.fxpg.modules.surveyspot.viewobjects.FxSurveySpotQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-27
 */
public interface FxSurveySpotNativeRepository {

    Page<FxSurveySpotEntity> queryFxSurveySpots(FxSurveySpotQueryParams queryParams, int curPage, int pageSize);

    List<FxSurveySpotEntity> listFxSurveySpots(FxSurveySpotQueryParams queryParams);

    List<FxSurveySpotEntity> listFxSurveySpotsByYears(FxSurveySpotQueryParams queryParams);

}
